import request from '@/utils/request'

// 查询压力均值报列表
export function listDispatchPressureAverageReports(query) {
  return request({
    url: '/system/dispatchPressureAverageReports/list',
    method: 'get',
    params: query
  })
}

// 查询压力均值报详细
export function getDispatchPressureAverageReports(pressureAverageReportsId) {
  return request({
    url: '/system/dispatchPressureAverageReports/' + pressureAverageReportsId,
    method: 'get'
  })
}

// 新增压力均值报
export function addDispatchPressureAverageReports(data) {
  return request({
    url: '/system/dispatchPressureAverageReports',
    method: 'post',
    data: data
  })
}

// 修改压力均值报
export function updateDispatchPressureAverageReports(data) {
  return request({
    url: '/system/dispatchPressureAverageReports',
    method: 'put',
    data: data
  })
}

// 删除压力均值报
export function delDispatchPressureAverageReports(pressureAverageReportsId) {
  return request({
    url: '/system/dispatchPressureAverageReports/' + pressureAverageReportsId,
    method: 'delete'
  })
}
